const Router = require("koa-router");
const {verifyWebAuth} = require("@common/middleware")

const userRouter = new Router({prefix:'/user'})
userRouter.post("/test",verifyWebAuth,(ctx,next) => {
  ctx.body = '授权通过'
})

module.exports = userRouter


require("./login")
require("./register")
require("./crud")